using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN SinhVienHocKyEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: SinhVienHocKyEntity</para>
	/// <para>Description: ClassSinhVienHocKyEntity store data of table SinhVienHocKy</para>
	///</summary>

	[DataContract]
	public partial class SinhVienHocKyEntity{


		private bool _InternalChangedIsNullSinhVienHocKy_ID=true;
		private bool _IsNullSinhVienHocKy_ID=true;
		private bool _InternalChangedIsNullSinhVien_ID=true;
		private bool _IsNullSinhVien_ID=true;
		private bool _InternalChangedIsNullHocKy_ID=true;
		private bool _IsNullHocKy_ID=true;
		private bool _InternalChangedIsNullNamHoc_ID=true;
		private bool _IsNullNamHoc_ID=true;
		private bool _InternalChangedIsNullDiemRenLuyen=true;
		private bool _IsNullDiemRenLuyen=true;
		private bool _InternalChangedIsNullDiemTongKet=true;
		private bool _IsNullDiemTongKet=true;
		private bool _InternalChangedIsNullMaXepLoaiTongKet=true;
		private bool _IsNullMaXepLoaiTongKet=true;
		private bool _InternalChangedIsNullThangDanhGia_ID=true;
		private bool _IsNullThangDanhGia_ID=true;
		private bool _InternalChangedIsNullXepLoaiRenLuyen_ID=true;
		private bool _IsNullXepLoaiRenLuyen_ID=true;
		private bool _InternalChangedIsNullNamThu=true;
		private bool _IsNullNamThu=true;
		private int _SinhVienHocKy_ID;
		private int _SinhVien_ID;
		private int _HocKy_ID;
		private int _NamHoc_ID;
		private Decimal _DiemRenLuyen;
		private Decimal _DiemTongKet;
		private string _MaXepLoaiTongKet;
		private int _ThangDanhGia_ID;
		private int _XepLoaiRenLuyen_ID;
		private Byte _NamThu;
		[DataMember]
		public bool IsNullSinhVienHocKy_ID{
			get{return _IsNullSinhVienHocKy_ID;}
			set{if(!_InternalChangedIsNullSinhVienHocKy_ID)_IsNullSinhVienHocKy_ID=value;}
		}
		[DataMember]
		public bool IsNullSinhVien_ID{
			get{return _IsNullSinhVien_ID;}
			set{if(!_InternalChangedIsNullSinhVien_ID)_IsNullSinhVien_ID=value;}
		}
		[DataMember]
		public bool IsNullHocKy_ID{
			get{return _IsNullHocKy_ID;}
			set{if(!_InternalChangedIsNullHocKy_ID)_IsNullHocKy_ID=value;}
		}
		[DataMember]
		public bool IsNullNamHoc_ID{
			get{return _IsNullNamHoc_ID;}
			set{if(!_InternalChangedIsNullNamHoc_ID)_IsNullNamHoc_ID=value;}
		}
		[DataMember]
		public bool IsNullDiemRenLuyen{
			get{return _IsNullDiemRenLuyen;}
			set{if(!_InternalChangedIsNullDiemRenLuyen)_IsNullDiemRenLuyen=value;}
		}
		[DataMember]
		public bool IsNullDiemTongKet{
			get{return _IsNullDiemTongKet;}
			set{if(!_InternalChangedIsNullDiemTongKet)_IsNullDiemTongKet=value;}
		}
		[DataMember]
		public bool IsNullMaXepLoaiTongKet{
			get{return _IsNullMaXepLoaiTongKet;}
			set{if(!_InternalChangedIsNullMaXepLoaiTongKet)_IsNullMaXepLoaiTongKet=value;}
		}
		[DataMember]
		public bool IsNullThangDanhGia_ID{
			get{return _IsNullThangDanhGia_ID;}
			set{if(!_InternalChangedIsNullThangDanhGia_ID)_IsNullThangDanhGia_ID=value;}
		}
		[DataMember]
		public bool IsNullXepLoaiRenLuyen_ID{
			get{return _IsNullXepLoaiRenLuyen_ID;}
			set{if(!_InternalChangedIsNullXepLoaiRenLuyen_ID)_IsNullXepLoaiRenLuyen_ID=value;}
		}
		[DataMember]
		public bool IsNullNamThu{
			get{return _IsNullNamThu;}
			set{if(!_InternalChangedIsNullNamThu)_IsNullNamThu=value;}
		}
		[DataMember]
		public int SinhVienHocKy_ID{
			get{return _SinhVienHocKy_ID;}
			set{
				_SinhVienHocKy_ID=value;
				if(_SinhVienHocKy_ID!=null){
					_IsNullSinhVienHocKy_ID=false;
					_InternalChangedIsNullSinhVienHocKy_ID=true;
				}
			}
		}
		[DataMember]
		public int SinhVien_ID{
			get{return _SinhVien_ID;}
			set{
				_SinhVien_ID=value;
				if(_SinhVien_ID!=null){
					_IsNullSinhVien_ID=false;
					_InternalChangedIsNullSinhVien_ID=true;
				}
			}
		}
		[DataMember]
		public int HocKy_ID{
			get{return _HocKy_ID;}
			set{
				_HocKy_ID=value;
				if(_HocKy_ID!=null){
					_IsNullHocKy_ID=false;
					_InternalChangedIsNullHocKy_ID=true;
				}
			}
		}
		[DataMember]
		public int NamHoc_ID{
			get{return _NamHoc_ID;}
			set{
				_NamHoc_ID=value;
				if(_NamHoc_ID!=null){
					_IsNullNamHoc_ID=false;
					_InternalChangedIsNullNamHoc_ID=true;
				}
			}
		}
		[DataMember]
		public Decimal DiemRenLuyen{
			get{return _DiemRenLuyen;}
			set{
				_DiemRenLuyen=value;
				if(_DiemRenLuyen!=null){
					_IsNullDiemRenLuyen=false;
					_InternalChangedIsNullDiemRenLuyen=true;
				}
			}
		}
		[DataMember]
		public Decimal DiemTongKet{
			get{return _DiemTongKet;}
			set{
				_DiemTongKet=value;
				if(_DiemTongKet!=null){
					_IsNullDiemTongKet=false;
					_InternalChangedIsNullDiemTongKet=true;
				}
			}
		}
		[DataMember]
		public string MaXepLoaiTongKet{
			get{return _MaXepLoaiTongKet;}
			set{
				_MaXepLoaiTongKet=value;
				if(_MaXepLoaiTongKet!=null){
					_IsNullMaXepLoaiTongKet=false;
					_InternalChangedIsNullMaXepLoaiTongKet=true;
				}
			}
		}
		[DataMember]
		public int ThangDanhGia_ID{
			get{return _ThangDanhGia_ID;}
			set{
				_ThangDanhGia_ID=value;
				if(_ThangDanhGia_ID!=null){
					_IsNullThangDanhGia_ID=false;
					_InternalChangedIsNullThangDanhGia_ID=true;
				}
			}
		}
		[DataMember]
		public int XepLoaiRenLuyen_ID{
			get{return _XepLoaiRenLuyen_ID;}
			set{
				_XepLoaiRenLuyen_ID=value;
				if(_XepLoaiRenLuyen_ID!=null){
					_IsNullXepLoaiRenLuyen_ID=false;
					_InternalChangedIsNullXepLoaiRenLuyen_ID=true;
				}
			}
		}
		[DataMember]
		public Byte NamThu{
			get{return _NamThu;}
			set{
				_NamThu=value;
				if(_NamThu!=null){
					_IsNullNamThu=false;
					_InternalChangedIsNullNamThu=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END SinhVienHocKyEntityBase*****************************************/
	/*****************************************************************************************************/
}

